
package com.amado.springboot.springbootcms.mapper;

import com.amado.springboot.springbootcms.domain.Depa;

import java.util.List;

/**
 * 公用的Mapper
 * Created by Administrator on 2017/11/26.
 */
public interface BaseMapper<T, K> {

    K selectByPrimaryKey(T id);

    int insertSelective(K record);
/*    int insertDepa(K depa);*/
    void modify(K record);

    K get(T id);
    void delete(List<T> ids);
    List<K> queryAll();
}
